package org.wk.abstrct;

public class Test01 extends Father {

    private String name ="test";


    public static void main(String[] args) {

        Test01 test = new Test01();

        System.out.println(test.getName());
        System.out.println(test.name);

    }

}

class Father {

    private String name ="father";

    public String getName() {

        return name;

    }

}
